xml spy
Copy as Structured Text
[Previous] [Main] [Next]

While you are editing your document in Enhanced Grid View you may also sometimes want to copy elements to the clipboard as they appear on the screen. This can not only be used within XML Spy, but is also very useful to quickly transfer XML data to spreadsheet-like applications (e.g. Microsoft Excel) when used from the Database/Table View in XML Spy:

view_table.gif


If you copy this table and switch over to Excel, this is what you'll get when you paste the information into a new spreadsheet:

view_excel.gif


Please note that this command very much depends on the way the information is currently laid out on the screen (i.e. if you are using the Database/Table View for certain repeated elements, or not). If you take the same XML data that served as an example in the description of the Copy as XML-Text command, this is what you'd be getting if you were to use this command on the data in Table View:

    row   
        para
            align    bold    link
            left     Check the FAQ   
                link
                    mode       link_section    link_subsection    link_text
                    internal   support         faq30              XML Spy 3.0 FAQ
                    internal   support         faq25              XML Spy 2.5 FAQ



Whereas the same information would be copied to the clipboard in the following format, if you were to use this command in the Enhanced Grid View with tables turned off:

    row   
        para   
            align    left
            bold     Check the FAQ
        para   
            link   
                mode              internal
                link_section      support
                link_subsection   faq30
                link_text         XML Spy 3.0 FAQ
            link   
                mode              internal
                link_section      support
                link_subsection   faq25
                link_text         XML Spy 2.5 FAQ



⌐ 2000 Icon Information-Systems